<?php

namespace App\Repository\Repositories\Interfaces;

/**
 * Interface CartsRepository.
 *
 * @package namespace App\Repository\Repositories\Interfaces;
 */
interface CartsRepository extends RepositoryInterface
{
    //更新或创建购物车数据
    public function updateOrCreateCart($data);

    //批量删除
    public function batchDelete(array $ids);

    //清空购物车
    public function emptyCart();

    //根据sku_id批量删除
    public function batchDeleteBySku(array $sku_ids);
}
